package org.jeecg.modules.putstorage.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 入库的物资明细表
 * @Author: jeecg-boot
 * @Date:   2022-10-17
 * @Version: V1.0
 */
@ApiModel(value="zcgl_put_storage对象", description="物资入库表")
@Data
@TableName("zcgl_put_storage_assets")
public class ZcglPutStorageAssets implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**入库表id*/
	@ApiModelProperty(value = "入库表id")
	private String putStorageAssetsId;
	/**物资id*/
	@Excel(name = "物资id", width = 15)
	@ApiModelProperty(value = "物资id")
	private String assetId;
	/**物资规格*/
	@Excel(name = "物资规格", width = 15)
	@ApiModelProperty(value = "物资规格")
	private String assetSpecifications;
	/**单位*/
	@Excel(name = "单位", width = 15)
	@ApiModelProperty(value = "单位")
	private String assetUnit;
	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private BigDecimal assetAmount;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@ApiModelProperty(value = "单价")
	private BigDecimal assetPrice;
	/**物资类别*/
	@Excel(name = "物资类别", width = 15)
	@ApiModelProperty(value = "物资类别")
	private String assetType;

	/**物资类别*/
	@Excel(name = "物资编码", width = 15)
	@ApiModelProperty(value = "物资编码")
	private String assetCode;
	/**单条价格*/
	@ApiModelProperty(value = "总价")
	private BigDecimal total;
	@Excel(name = "备注", width = 30)
	@ApiModelProperty(value = "备注")
	private String remark;


	@ApiModelProperty(value = "公司")
	private String CompanyId;

	/**物资类别*/
	@TableField(exist = false)
	@ApiModelProperty(value = "物资名称")
	private String assetName;

}
